GET api/role/{id}/noteeditionschains?noteIds[0]={noteIds[0]}&noteIds[1]={noteIds[1]}

Get role note editions chains by their Ids

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the role to get note editions chains for

integer

Required

noteIds

The list of edited notes ids for which you need to configure the note edition chains. Can be null

Collection of integer

None.

Body Parameters

None.

Response Information

Resource Description

A list of note editions chains for the given role and edited notes passed as parameter or null if the role does not exist

Collection of Dezrez.Core.DataContracts.External.Api.Lists.Events.NoteEditionsChainDataContract
NameDescriptionTypeAdditional information
EditionHistory

Collection of Dezrez.Core.DataContracts.External.Api.Lists.Events.NoteEditionDataContract

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EditionHistory": [
      {
        "Id": 1,
        "CreatedBy": "sample string 2",
        "Description": "sample string 3",
        "CreatedDate": "2024-11-21T09:53:03.9506268Z",
        "EditedVersionId": 5,
        "Pinned": true
      },
      {
        "Id": 1,
        "CreatedBy": "sample string 2",
        "Description": "sample string 3",
        "CreatedDate": "2024-11-21T09:53:03.9506268Z",
        "EditedVersionId": 5,
        "Pinned": true
      }
    ]
  },
  {
    "EditionHistory": [
      {
        "Id": 1,
        "CreatedBy": "sample string 2",
        "Description": "sample string 3",
        "CreatedDate": "2024-11-21T09:53:03.9506268Z",
        "EditedVersionId": 5,
        "Pinned": true
      },
      {
        "Id": 1,
        "CreatedBy": "sample string 2",
        "Description": "sample string 3",
        "CreatedDate": "2024-11-21T09:53:03.9506268Z",
        "EditedVersionId": 5,
        "Pinned": true
      }
    ]
  }
]